<template>
    <div class="wrap" id="wrap">
        <div class="logGet">
            <!-- 头部提示信息 -->
            <div class="logD logDtip">
                <p class="p1">注册新账号</p>
            </div>
            <!-- 输入框 -->
            <div class="lgD">
                 <img src="../assets/user1.png" width="20" height="20" alt="" />
                <input type="text" placeholder="输入用户名" />
            </div>
            <div class="lgD">
                 <img src="../assets/user2.png" width="20" height="20" alt="" />
                <input type="text" placeholder="输入用户密码" />
            </div>
            <div class="logC">
              <el-button  type="primary" @click="ToRegister">注 册</el-button>

            </div>


        </div>
    </div>
</template>

<script>
    export default {
        methods: {

            ToRegister(){
                this.$router.push('/');
            }
        }
    }
</script>

